Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

DO NOT MERGE - review PR before submission upstream#44

Closed
baywet wants to merge 186 commits intomainfrom
feat/oai-3-2-support
Closed

DO NOT MERGE - review PR before submission upstream#44
baywet wants to merge 186 commits intomainfrom
feat/oai-3-2-support

Conversation

@baywet
Copy link
Copy Markdown

@baywet baywet commented Oct 3, 2025

No description provided.

baywet and others added 30 commits September 23, 2025 21:05
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
adds new OAS vesion and serialization/deserialization infrastructure
sync from upstream main
…ialization-infrastructure-for-v32

Adds serialization/deserialization unit tests for 3.2
* Initial plan

* Add Summary support to OpenApiResponse with serialization/deserialization

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>

* Complete implementation with reference support and test fixes

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>

* Update IOpenApiResponse to derive from IOpenApiSummarizedElement

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>

* Apply suggestions from code review

* Apply suggestion from @baywet

* chore: copy reference implementation

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* chore: adds missing using

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* chore: linting

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* chore: updates public API export

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

---------

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
…b196-901596c61b07

feat: Implement OpenAPI 3.2.0 server name field
…ization

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
Comment on lines +200 to +207
foreach(var type in list)
{
if (type is not null)
{
var schemaType = type.ToJsonSchemaType();
combinedType |= schemaType;
}
}

Check notice

Code scanning / CodeQL

Missed opportunity to use Where Note

This foreach loop
implicitly filters its target sequence
- consider filtering the sequence explicitly using '.Where(...)'.
baywet and others added 23 commits October 3, 2025 13:17
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
…to 3 and 3.1

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
fix: avoid serializing non-standard operations in 2, 3, and 3.1

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
…9aa8-a50a721fd288

feat: Add support for media types components in OAS 3.2.0
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
feat: add new v32 properties for Path Items (query, additional operations)
OpenApiSpecVersion.OpenApi2_0 => _standardHttp2MethodsNames,
OpenApiSpecVersion.OpenApi3_0 => _standardHttp30MethodsNames,
OpenApiSpecVersion.OpenApi3_1 => _standardHttp31MethodsNames,
OpenApiSpecVersion.OpenApi3_2 or _ => _standardHttp32MethodsNames,

Check warning

Code scanning / CodeQL

Constant condition Warning

Pattern always matches.
baywet added 3 commits October 5, 2025 17:21
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
chore: disables WPF solution on non windows platforms
@baywet
Copy link
Copy Markdown
Author

baywet commented Oct 6, 2025

closing in favour of microsoft#2529

@baywet baywet closed this Oct 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants